package cn.stylefeng.guns.modular.demo.excel.domain.asilikang;

import cn.stylefeng.guns.modular.demo.excel.converter.YesNoConverter;
import cn.stylefeng.guns.modular.demo.excel.domain.SaleTypeConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class ASStocakExcelVO implements Serializable {
    @ExcelProperty("发生时间")
    @DateTimeFormat("yyyyMMdd")
    private Date saleTime;

    @ExcelProperty(value = "商品编码")
    private String commodityCode;
//
//    @ExcelProperty(value = "产品名称")
//    private String commodityName;


    @ExcelProperty(value = "单价")
    @NumberFormat("#.##")
    private BigDecimal price;

    @ExcelProperty(value = "单价")
    @NumberFormat("#.##")
    private BigDecimal amount;

    @ExcelProperty(value = "批号")
    private String batch;


    @ExcelProperty(value = "数量")
    private Integer num;

    @ExcelProperty(value = "供应商编码")
    private String supplierCode;


}
